package cn.vplay.beans;

public class Res {
	
	private String userName;
	private String movieId;
	private String type;
	private String mvExtName;
	private String imgExtName;
	
	@Override
	public String toString() {
		return "Res [userName=" + userName + ", movieId=" + movieId + ", type=" + type + ", mvExtName=" + mvExtName
				+ ", imgExtName=" + imgExtName + "]";
	}
	public String getMvExtName() {
		return mvExtName;
	}
	public void setMvExtName(String mvExtName) {
		this.mvExtName = mvExtName;
	}
	public String getImgExtName() {
		return imgExtName;
	}
	public void setImgExtName(String imgExtName) {
		this.imgExtName = imgExtName;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getMovieId() {
		return movieId;
	}
	public void setMovieId(String movieId) {
		this.movieId = movieId;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	public String getResPath() {
		if( type.equals("img") ){

			return userName+movieId+imgExtName;
		}else{

			return userName+movieId+mvExtName;
		}
	}
}
